ffi = require("@system.ffi");
device = require("@system.device");

console.log("hello simware");

var p1 = ffi.test_ptr1()
console.log(p1)
var a = ffi.test_ptr2(p1)
var a = ffi.test_void()
var a = ffi.test_isi("111", 1)
var a = ffi.test_bbb(true, false)

var a = ffi.test_ddd(1.12, 2.12)
var a = ffi.test_isiiiiiiii("1", 1, 1, 1, 1, 1, 1, 1, 1)
var a = ffi.test_jejj({
    'a': 1,
    'b': 2
}, function() {
    console.log("===========test_jej=============")
})

var a = ffi.test_iejj({
    'a': 1,
    'b': 2
}, function(obj) {
    console.log(obj)
})

var a = device.imei();

console.log("=============1==============")
console.log(a)
console.log("=============2==============")